package com.gugee.ins.data.collector.media.config;


import com.gugee.ins.common.model.es.product.InsProductEsMapping;
import com.gugee.ins.common.model.mysql.product.InsProduct;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface InsProductMapping {

    InsProductEsMapping mapper(InsProduct products);

    List<InsProductEsMapping> mapper(List<InsProduct> product);

}
